<?php
/****************************************************************************************************** 
	This class is stores information about a banned user
******************************************************************************************************/

class BannedUser {
	
	// Variables
	var $banId;
	var $steamId;
	var $ip;
	var $length;
	var $timeScale;
	var $reasonId;
	var $reason;
	var $serverId;
	var $server;
	var $webpage;
	var $name;
	var $banner;
	var $bannerSteamId; // Steam ID of banner
	var $modifiedBy;
	var $addDate;
	var $expireDate;
	var $active;
	var $pending;
	var $demoCount;
	var $comments;
	var $offenses;
	
	// Default Constructor (PHP 5)
	function __construct() {
		$this->init();
	}
	
	// Default Constructor (PHP 4)
	function BannedUser() {
		$this->init();
	}
	
	function init() {
  }
	
	/************************************************************************
	Accessor Methods
	************************************************************************/
	function getBanId() {
    return $this->banId;
  }
  
	function getSteamId() {
    return $this->steamId;
  }
  
  function getIp() {
    return $this->ip;
  }
  
  function getLength() {
    return $this->length;
  }
  
  function getTimeScale() {
    return $this->timeScale;
  }
  
  function getReasonId() {
    return $this->reasonId;
  }
  
  function getReason() {
    return $this->reason;
  }
  
  function getServerId() {
    return $this->serverId;
  }
  
  function getServer() {
    return $this->server;
  }
  
  function getWebpage() {
    return $this->webpage;
  }
  
	function getName() {
		return $this->name;
	}
	
	function getBanner() {
    return $this->banner;
  }
  
  function getBannerSteamId() {
    return $this->bannerSteamId;
  }
  
  function getModifiedBy() {
    return $this->modifiedBy;
  }
  
  function getAddDate() {
    return $this->addDate;
  }
  
  function getExpireDate() {
    return $this->expireDate;
  }
  
  function getActive() {
    return $this->active;
  }
  
  function getPending() {
    return $this->pending;
  }
  
  function getDemoCount() {
    return $this->demoCount;
  }
	
	function getComments() {
    return $this->comments;
  }
  
  function getOffenses() {
    return $this->offenses;
  }
	
	/************************************************************************
	Mutator Methods
	************************************************************************/
	function setBanId($banId) {
    $this->banId = $banId;
  }
	
	function setSteamId($steamId) {
    $this->steamId = $steamId;
  }
  
  function setIp($ip) {
    $this->ip = $ip;
  }
  
  function setLength($length) {
    $this->length = $length;
  }
  
  function setTimeScale($timeScale) {
    $this->timeScale = $timeScale;
  }
  
  function setReasonId($reasonId) {
    $this->reasonId = $reasonId;
  }
  
  function setReason($reason) {
    $this->reason = $reason;
  }
  
  function setServerId($serverId) {
    $this->serverId = $serverId;
  }
  
  function setServer($server) {
    $this->server = $server;
  }
  
  function setWebpage($webpage) {
    $this->webpage = $webpage;
  }
  
	function setName($name) {
		$this->name = $name;
	}
	
	function setBanner($banner) {
    $this->banner = $banner;
  }
  
  function setBannerSteamId($bannerSteamId) {
    $this->bannerSteamId = $bannerSteamId;
  }
  
  function setModifiedBy($modifiedBy) {
    $this->modifiedBy = $modifiedBy;
  }
  
  function setAddDate($addDate) {
    $this->addDate = $addDate;
  }
  
  function setExpireDate($expireDate) {
    $this->expireDate = $expireDate;
  }
  
  function setActive($active) {
    $this->active = $active;
  }
  
  function setPending($pending) {
    $this->pending = $pending;
  }
  
  function setDemoCount($demoCount) {
    $this->demoCount = $demoCount;
  }
  
  function setComments($comments) {
    $this->comments = $comments;
  }
  
  function setOffenses($offenses) {
    $this->offenses = $offenses;
  }
}
?>
